package com.webapi.core.service;

import java.util.List;

import com.webapi.core.model.persist.Agent;
import com.webapi.core.model.persist.Order;
import com.webapi.core.model.persist.Pay;
import com.webapi.core.model.persist.RequestLog;
import com.webapi.core.model.persist.Ticket;

public interface FacadeService {
	
	public void saveRequest(RequestLog request);

    public Order findOrder(Integer id);
    
    public List<Order> findOrders(List<String> cds);
    
    public void saveOrder(Order order);
    
    public void updateOrder(Order order);
    
    public Pay findPay(Integer id);
    
    public List<Pay> findPay(String cd);
    
    public void updatePay(Pay pay);
    
    public Ticket findTicket(Integer id);
    
    public List<Ticket> findTicket(String cd);
    
    public void updateTicket(Ticket ticket);
    
    public List<Agent> findAgents();
    
}
